﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace QCM.Contract1
{
    [DataContract]
    public class Question
    {
        [DataMember]
        public string Titre;
        [DataMember]
        public int Id;
        [DataMember]
        public List<Reponse> Reponses;
        
        public Question(int id, string titre)
        {
            this.Titre = titre;
            this.Id = id;
            this.Reponses = new List<Reponse>();
        }
    }
}
